﻿using Abp.Application.Services.Dto;
using ARchGL.Platform.Dto;
using System;
using System.ComponentModel.DataAnnotations;

namespace ARchGL.Platform.Dtos
{
    /// <summary>
    /// 检查项 InputModel
    /// </summary>
    public class QueryCheckItemsInput : PagedSortedAndFilteredInputDto
    {
        /// <summary>
        /// 项目标识
        /// </summary>
        [Required(ErrorMessage = "项目标识不能为空，请重新输入")]
        public Guid ProjectId { get; set; }
        /// <summary>
        /// 父级标识
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 类型：0检查项/检查性质、1检查项、2检查性质
        /// </summary>
        public EnumCheckItemType Type { get; set; }
    }
}
